from django.db import models
from datetime import datetime
# 富文本组件

from ckeditor. fields import RichTextField
from ckeditor_uploader. fields import RichTextUploadingField

# Create your models here.

class Fuweben(models.Model):
    title = models.CharField(max_length=200, verbose_name=u'标题')
    content = RichTextField(verbose_name=u'基础富文本')
    all_content = RichTextUploadingField(verbose_name=u'完整富文本')
    add_time = models.DateTimeField(default=datetime.now(), verbose_name=u'添加时间')

